﻿@{
ViewBag.Title = "Ingresar al sistema";
if (ViewBag.sesion == null || ViewBag.sesion)
    {
        Layout = (ViewBag.esCliente!=null && ViewBag.esCliente?"~/Views/Shared/_ClienteLayout.cshtml":"~/Views/Shared/_Layout.cshtml");
    }
    else
    {
        Layout = "~/Views/Shared/_OfflineLayout.cshtml";
    }
 }
<!-- content -->
<body>
    <form class="form-horizontal" method="post">
        <fieldset>
            <legend>Cambiar Contraseña</legend>
            @if (ViewBag.error != null)
            {
                <div class="alert alert-danger">
                    <p>@ViewBag.error</p>
                </div>
            }
            
            <div class="form-group">
                <label class="col-md-4 col-sm-6 control-label" for="Cuenta">Contraseña actual*:</label>
                <div class="col-md-3 col-sm-6">
                    <input type="text" class="form-control" maxlength="30" name="actual" id="actual">
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-md-4 col-sm-6 control-label" for="Contrasenha">Contraseña nueva:</label>
                <div class="col-md-3 col-sm-6">
                    <input type="text" class="form-control" maxlength="30" name="nuevo" id="nuevo">
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-4 col-sm-6 control-label" for="confirmacion">Repetir contraseña nueva:</label>
                <div class="col-md-3 col-sm-6">
                    <input type="text" class="form-control" maxlength="30" name="conf" id="conf">
                </div>
            </div>
            <div class="form-group">
                <div class="col-md-3 col-sm-6">
                    <button type="submit" class="btn btn-default col-md-offset-2">Cambiar</button>
                </div>
            </div>
        </fieldset>

    </form>
    <!-- / content -->

</body>
